package com.lgw.coupon.service;

import com.lgw.commons.model.domain.ResultInfo;
import com.lgw.commons.model.pojo.Coupon;
import com.lgw.commons.vo.CouponTemplateInfo;
import com.lgw.coupon.vo.AcquireTemplateRequest;

import java.util.List;

public interface IUserService {

    /**
     * 用户查找可用的优惠券
     * @param customerId
     * @return
     */
    ResultInfo findAvailableTemplate(Long customerId);

    /**
     * 用户领取优惠券
     * @param acquireTemplateRequest
     * @return
     */
    Coupon acquireCoupon(AcquireTemplateRequest acquireTemplateRequest);

}
